<#if successMessages?has_content>
<div class="marginTop successMessages">
    <ul>
        <#list successMessages as successMessage>
            <li>${successMessage}</li>
        </#list>
    </ul>
</div>
</#if>
<#if errorMessages?has_content>
<div class="marginTop errorMessages">
    <ul>
        <#list errorMessages as errorMessage>
            <li>${errorMessage}</li>
        </#list>
    </ul>
</div>
</#if>